<template>
  <div>
    <h3>注册功能</h3>
    <p>用户名：{{ username }}</p>
    <p>密码：{{ password }}</p>
  </div>
</template>

<script>
export default {
  name: "Register.vue",
  data() {
    return {
      username: undefined,
      password: undefined
    }
  },
  created() {
    this.username = this.$route.params.username;
    this.password = this.$route.params.password;
  }
}
</script>

<style scoped>

</style>